<?php 
// No direct access
defined ('_JEXEC') or die();

jimport ('joomla.application.component.view');

class ShipnhanhViewUserorders extends JView
{
	function display($tpl = null)
	{
		// Required JS
		JHtml::_('behavior.framework');
		
		JToolBarHelper::title(JText::_('COM_SHIPNHANH_SHIPNHANH_DASHBOARD'), 'generic.png');
		
		JToolBarHelper::deleteList( JText::_( 'Confirm delete' ),
				'userorders.delete' );
		
		$this->pagination = $this->get('Pagination');
		$this->items = $this->get('Items');
		$this->state = $this->get('State');
		
		parent::display($tpl);
		
		$document = JFactory::getDocument();
		$document->addScript(JURI::root() .
				'/administrator/components/com_shipnhanh/models/forms/validation.js');
		$document->addScript(JURI::root() .
				'/administrator/components/com_shipnhanh/models/forms/jquery_1_9.js');
	}
}